package com.css.fxfzypg.modules.suggestinfo.manage.emergencydisasterManage.service;

import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;
import com.css.fxfzypg.modules.suggestinfo.manage.emergencydisasterManage.repository.entity.EmergencyDisasterManageEntity;
import com.css.fxfzypg.modules.suggestinfo.manage.vo.ParamVo;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

public interface EmergencyDisasterManageService {

    Map<String, Object> save(EmergencyDisasterManageEntity emergencyDisasterManageEntity) throws UnsupportedEncodingException;

    EmergencyDisasterManageEntity getDataById(String id);

    Map<String, Object> getDataList(ParamVo paramVo, int curPage, int pageSize);

    Map<String, Object> update(EmergencyDisasterManageEntity emergencyDisasterManageEntity) throws UnsupportedEncodingException;

    boolean delete(List<String> idList);

    //建议分析里使用
    EmergencyDisasterManageEntity getEmergencyDisasterManageData(ParamsVo paramsVo);

    List<EmergencyDisasterManageEntity> getEmergencyDisasterManageAreaData(ParamsVo paramsVo);

    EmergencyDisasterManageEntity getByProvinceCityCounty(String provinceId, String cityId, String areaId);
}
